//
//  GameDetailNewViewModel.m
//  gamebox_qpp
//
//  Created by 赵隆杰 on 2022/9/26.
//

#import "GameDetailNewViewModel.h"

@implementation GameDetailNewViewModel

- (void)fetchDetailWithDetailId:(NSString *)detailId block:(void (^)(void))block
{
    //模拟请求
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        GameDetailNewModel *model = [GameDetailNewModel mj_objectWithKeyValues:[LocalData getMenudicWithKey:@"gamedetail"]];
        self.detailModel = model;
        block();

    });
}

@end
